<template>
  <li class="global-form-item" style="padding: 0 10px;">
      <span style="padding: 0 10px 0 0" v-if="label">{{ label }}</span>
      <div>
          <slot></slot>
      </div>
  </li>
</template>
<script>
export default {
    name: 'global-form-item',
    props: ['label']
};
</script>
<style lang="postcss" scoped>
.global-form-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
</style>
